Snowflake Stored Procedure using Python